package javaStu.jiashi;

/**
 * @author leiwenkang
 * @date 2020/5/17
 */
public class NullListTest {
    public static void main(String[] args) {
        int countx = 0;
        int x = 9999;
        while (x > 0) {
            countx++;
            x = x & (x - 1);
        }

        System.out.println(countx);
    }

}
